﻿<html>
<head>
	<meta charset="UTF-8">
	<title>添加视频</title>
	<link rel="stylesheet" href="./assets/css/bootstrap.min.css">
</head>
<body>
		<ul class="nav nav-tabs">
  			<li role="presentation"><a href="admin.php?c=user&m=listusers">用户列表</a></li>
  			<li role="presentation"><a href="admin.php?c=user&m=regUser">用户注册</a></li>
  			<li role="presentation"><a href="admin.php?c=music&m=listMusics">视频列表</a></li>
  			<li role="presentation"><a href="admin.php?c=music&m=regMusic">添加视频</a></li>
		</ul>
<form class="form-horizontal" method="post" action="admin.php?c=music&m=addmusic" enctype="multipart/form-data">	
	<h3><center>添加视频</center></h3>
	<div class="form-group">
   	 	<label for="inputname" class="col-md-3 control-label">视频名称</label>
   	 	<div class="col-md-6">
        <input type="text" class="form-control" id="inputname" placeholder="视频名称" name="musicname">
   	    </div>
  	</div>
	
	 <div class="form-group">
   	 	<label for="inputdate" class="col-md-3 control-label">上传时间</label>
   	 	<div class="col-md-6">
        <input type="date" class="form-control" id="inputdate" name="uploaddate">
   	    </div>
  	</div>

	 <div class="form-group">
   	 	<label for="inputtid" class="col-md-3 control-label">视频类型</label>
   	 	<div class="col-md-6">
        <select class="form-control" name="tid" id="">
				<option value="1">电影</option>	
				<option value="2">电视剧</option>
				<option value="3">动漫</option>	
				<option value="4">其它</option>	
		</select>
   	    </div>
  	</div>

	<div class="form-group">
   	 	<label class="col-md-3 control-label">视频海报</label>
   	 	<div class="col-md-6">
   		 	<input type="file" name="pic">	
   	    </div>
  	</div>

  	<div class="form-group">
   	 	<label for="inputintro" class="col-md-3 control-label">视频简介</label>
   	 	<div class="col-md-6">
        <textarea class="form-control" rows="3" id="inputintro"  placeholder="视频简介" name="intro"></textarea>
   	    </div>
  	</div>

	<div class="form-group">
   	 	<label for="inputaddress" class="col-md-3 control-label">下载地址</label>
   	 	<div class="col-md-6">
        <input type="text" class="form-control" id="inputaddress" placeholder="下载地址" name="address">
   	    </div>
  	</div>

	<div class="form-group">
   	 	<label for="inputadmin" class="col-md-3 control-label">上传人</label>
   	 	<div class="col-md-6">
        <input type="text" class="form-control" id="inputadmin" placeholder="上传人" name="uploadadmin">
   	    </div>
  	</div>

	<div class="form-group">
    		<div class="col-sm-offset-3 col-sm-6"> <!-- 向右位移两个方格 -->
     		 <button type="submit" class="btn btn-default">添加</button>
     		 <button type="reset" class="btn btn-default">重置</button>
   			 </div>
	</div>
	</form>
	</body>






	<!-- <center><h2>请填写视频信息</h2></center>
	<table  border="1" align="center" width="35%">
	<form method="post" action="index.php?c=video&m=addvideo" enctype="multipart/form-data">
		<tr>
			<td>视频名称</td>
			<td><input type="text" name="videoname"></td>
		</tr>
		<tr>
			<td>上传时间</td>
			<td><input type="date" name="uploaddate"></td>
		</tr>
		<tr>
			<td>视频类型</td>
			<td>
				<select name="tid" id="">
					<option value="1">电影</option>	
					<option value="2">电视剧</option>
					<option value="3">动漫</option>	
					<option value="4">其它</option>	
				</select>
			</td>
		</tr>
		<tr>
			<td>视频海报</td>
			<td><input type="file" name="pic"></td>
		</tr>
		<tr>
			<td>视频简介</td>
			<td>
				<textarea name="intro" id="" cols="30" rows="10"></textarea>
			</td>
		</tr>
		<tr>
			<td>下载地址</td>
			<td><input type="text" name="address"></td>
		</tr>
		<tr>
			<td>上传人</td>
			<td><input type="text" name="uploadadmin"></td>
		</tr>
		<tr>
			<td colspan="2" align="center">
				<input type="submit" value="添加">
				<input type="reset" value="重置">
			</td>
		</tr>
	</form>
	</table>
	
	</body>
	</html> -->